package com.fr71.project.dm.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.fr71.framework.aspectj.lang.annotation.Excel;
import com.fr71.framework.web.domain.BaseEntity;

/**
 * 换绑记录对象 pd_change_log
 * 
 * @author devzwy
 * @date 2023-07-07
 */
public class PdChangeLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增id */
    private Long id;

    /** 换绑前IP */
    @Excel(name = "换绑前IP")
    private String fromIp;

    /** 换绑后ip */
    @Excel(name = "换绑后ip")
    private String toIp;

    /** 激活码类型 */
    @Excel(name = "激活码类型")
    private Integer type;

    /** 换绑激活码 */
    @Excel(name = "换绑激活码")
    private String sCode;

    /** 换绑状态 */
    @Excel(name = "换绑状态")
    private String changeStatus;

    /** 状态描述 */
    @Excel(name = "状态描述")
    private String statusMsg;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setFromIp(String fromIp) 
    {
        this.fromIp = fromIp;
    }

    public String getFromIp() 
    {
        return fromIp;
    }
    public void setToIp(String toIp) 
    {
        this.toIp = toIp;
    }

    public String getToIp() 
    {
        return toIp;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setsCode(String sCode) 
    {
        this.sCode = sCode;
    }

    public String getsCode() 
    {
        return sCode;
    }
    public void setChangeStatus(String changeStatus) 
    {
        this.changeStatus = changeStatus;
    }

    public String getChangeStatus() 
    {
        return changeStatus;
    }
    public void setStatusMsg(String statusMsg) 
    {
        this.statusMsg = statusMsg;
    }

    public String getStatusMsg() 
    {
        return statusMsg;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("fromIp", getFromIp())
            .append("toIp", getToIp())
            .append("type", getType())
            .append("sCode", getsCode())
            .append("changeStatus", getChangeStatus())
            .append("statusMsg", getStatusMsg())
            .append("createTime", getCreateTime())
            .append("remark", getRemark())
            .toString();
    }
}
